import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
import VCharts from 'v-charts'
Vue.use(VCharts)
Vue.use(mavonEditor)
Vue.use(ElementUI);
Vue.config.productionTip = false

//axios注册
import http from "./api/http";
Vue.prototype.$post = http.post;
Vue.prototype.$get = http.get;
Vue.prototype.$put = http.put;

//初始化样式
import "./assets/css/reset.css";
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
